﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace MyTask.Domain.Models
{
    [Table("ShareTask")]
   public class ShareTask
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// From user
        /// </summary>
        public int FromUserId { get; set; }
        /// <summary>
        /// To user
        /// </summary>
        public int ToUserId { get; set; }
        /// <summary>
        /// Taskid
        /// </summary>
        public int TaskInfoId { get; set; }
        /// <summary>
        /// Create time
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
